# Add more folders to ship with the application, here
folder_01.source = qml/PocketGTT
folder_01.target = qml
DEPLOYMENTFOLDERS = folder_01

# Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =

symbian:TARGET.UID3 = 0xE58181A4

# Smart Installer package's UID
# This UID is from the protected range and therefore the package will
# fail to install if self-signed. By default qmake uses the unprotected
# range value if unprotected UID is defined for the application and
# 0x2002CCCF value if protected UID is given to the application
#symbian:DEPLOYMENT.installer_header = 0x2002CCCF

# Allow network access on Symbian
symbian:TARGET.CAPABILITY += NetworkServices
#symbian:TARGET.CAPABILITY += Location

# If your application uses the Qt Mobility libraries, uncomment the following
# lines and add the respective components to the MOBILITY variable.
# CONFIG += mobility
# MOBILITY +=
#maemo5 {
#  CONFIG += mobility12
#} else {
#  CONFIG += mobility
#}
# MOBILITY += location

# Speed up launching on MeeGo/Harmattan when using applauncherd daemon
CONFIG += qdeclarative-boostable

# Add dependency to Symbian components
# CONFIG += qt-components

# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp \
    src/gtt_stop.cpp \
    src/gtt_preferredstoplist.cpp \
    src/gtt_preferredstop.cpp \
    src/gtt_line.cpp \
    src/gtt_stopmanager.cpp

HEADERS += \
    src/localdebug.h \
    src/gtt_stop.h \
    src/gtt_preferredstoplist.h \
    src/gtt_preferredstop.h \
    src/gtt_line.h \
    src/gtt_stopmanager.h

# Please do not modify the following two lines. Required for deployment.
include(qmlapplicationviewer/qmlapplicationviewer.pri)
qtcAddDeployment()

OTHER_FILES += \
    qtc_packaging/debian_harmattan/rules \
    qtc_packaging/debian_harmattan/README \
    qtc_packaging/debian_harmattan/manifest.aegis \
    qtc_packaging/debian_harmattan/copyright \
    qtc_packaging/debian_harmattan/control \
    qtc_packaging/debian_harmattan/compat \
    qtc_packaging/debian_harmattan/changelog \
    qtc_packaging/debian_fremantle/rules \
    qtc_packaging/debian_fremantle/README \
    qtc_packaging/debian_fremantle/copyright \
    qtc_packaging/debian_fremantle/control \
    qtc_packaging/debian_fremantle/compat \
    qtc_packaging/debian_fremantle/changelog \
#    PocketGTT48.png \
    license.txt

#Added by me
QT += webkit
QT += xml

VERSION = 1.0
ICON = PocketGTT.svg


RESOURCES += \
    img/GTT_container.qrc

#unix:!symbian {
maemo5 {
#    BINDIR = /opt/usr/bin
    DATADIR =/usr/share

    INSTALLS += icon26 \
        icon40 \
        icon48 \
        icon64

#ICON = PocketGTT.png

    icon26.path = $$DATADIR/icons/hicolor/26x26/apps/
    icon26.files += icons/26/PocketGTT.png

    icon40.path = $$DATADIR/icons/hicolor/40x40/apps/
    icon40.files += icons/40/PocketGTT.png

    icon48.path = $$DATADIR/icons/hicolor/48x48/apps/
    icon48.files += icons/48/PocketGTT.png

    icon64.path = $$DATADIR/icons/hicolor/64x64/apps/
    icon64.files += icons/64/PocketGTT.png

#    maemo5{
#        desktop.path = $$DATADIR/applications/hildon
#        desktop.files += qtc_packaging/debian_fremantle/$${TARGET}.desktop
#    }
#    else {
#        DEFINES += Q_WS_MAEMO_6
#        desktop.path = $$DATADIR/applications
#        desktop.files += qtc_packaging/debian_harmattan/$${TARGET}.desktop
#     }
}

contains(MEEGO_EDITION,harmattan) {
    icon.files = PocketGTT.png
    icon.path = /usr/share/icons/hicolor/80x80/apps
    INSTALLS += icon
}
